package com.kingdee.eas.ec.garden.settle;

import com.kingdee.bos.framework.ejb.EJBRemoteException;
import com.kingdee.bos.util.BOSObjectType;
import java.rmi.RemoteException;
import com.kingdee.bos.framework.AbstractBizCtrl;
import com.kingdee.bos.orm.template.ORMObject;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.ec.contract.biz.IContractPaymentBill;
import java.util.Map;
import java.math.BigDecimal;
import com.kingdee.eas.ec.contract.biz.ContractPaymentBill;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.eas.ec.garden.settle.app.*;
import java.util.List;

public class OwerSettBill extends ContractPaymentBill implements IOwerSettBill
{
    public OwerSettBill()
    {
        super();
        registerInterface(IOwerSettBill.class, this);
    }
    public OwerSettBill(Context ctx)
    {
        super(ctx);
        registerInterface(IOwerSettBill.class, this);
    }
    public BOSObjectType getType()
    {
        return new BOSObjectType("7AA12C30");
    }
    private OwerSettBillController getController() throws BOSException
    {
        return (OwerSettBillController)getBizController();
    }
    /**
     *getValue-System defined method
     *@param pk pk
     *@return
     */
    public OwerSettBillInfo getOwerSettBillInfo(IObjectPK pk) throws BOSException, EASBizException
    {
        try {
            return getController().getOwerSettBillInfo(getContext(), pk);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getValue-System defined method
     *@param pk pk
     *@param selector selector
     *@return
     */
    public OwerSettBillInfo getOwerSettBillInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        try {
            return getController().getOwerSettBillInfo(getContext(), pk, selector);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getValue-System defined method
     *@param oql oql
     *@return
     */
    public OwerSettBillInfo getOwerSettBillInfo(String oql) throws BOSException, EASBizException
    {
        try {
            return getController().getOwerSettBillInfo(getContext(), oql);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getCollection-System defined method
     *@return
     */
    public OwerSettBillCollection getOwerSettBillCollection() throws BOSException
    {
        try {
            return getController().getOwerSettBillCollection(getContext());
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getCollection-System defined method
     *@param view view
     *@return
     */
    public OwerSettBillCollection getOwerSettBillCollection(EntityViewInfo view) throws BOSException
    {
        try {
            return getController().getOwerSettBillCollection(getContext(), view);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getCollection-System defined method
     *@param oql oql
     *@return
     */
    public OwerSettBillCollection getOwerSettBillCollection(String oql) throws BOSException
    {
        try {
            return getController().getOwerSettBillCollection(getContext(), oql);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getItemsValue-User defined method
     *@param param param
     *@return
     */
    public List getItemsValue(Map param) throws BOSException, EASBizException
    {
        try {
            return getController().getItemsValue(getContext(), param);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getMacValue-User defined method
     *@param param param
     *@return
     */
    public List getMacValue(Map param) throws BOSException, EASBizException
    {
        try {
            return getController().getMacValue(getContext(), param);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getCarValue-User defined method
     *@param param param
     *@return
     */
    public List getCarValue(Map param) throws BOSException, EASBizException
    {
        try {
            return getController().getCarValue(getContext(), param);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getWatValue-User defined method
     *@param param param
     *@return
     */
    public List getWatValue(Map param) throws BOSException, EASBizException
    {
        try {
            return getController().getWatValue(getContext(), param);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getRubValue-User defined method
     *@param param param
     *@return
     */
    public List getRubValue(Map param) throws BOSException, EASBizException
    {
        try {
            return getController().getRubValue(getContext(), param);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getPacValue-User defined method
     *@param param param
     *@return
     */
    public List getPacValue(Map param) throws BOSException, EASBizException
    {
        try {
            return getController().getPacValue(getContext(), param);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
    /**
     *getMatInvAmount-User defined method
     *@param param param
     *@return
     */
    public BigDecimal getMatInvAmount(Map param) throws BOSException, EASBizException
    {
        try {
            return getController().getMatInvAmount(getContext(), param);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
    }
}